Skip to contentSkip to conversation

Brink compatible pixel format not found

Bug 107687 [email protected] 1 participant 6 messages Aug 25, 2018 – Sep 1, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=107687

Bug ID: 107687
Summary: [wine] Brink compatible pixel format not found
Product: Mesa
Version: 18.2
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 141278
--> https://bugs.freedesktop.org/attachment.cgi?id=141278&action=edit
wine log with +wgl

The game Brink (running with Steam Proton/Wine) fails to start with the following error:

wglChoosePixelFormatARB failed to find a suitable format. Resetting r_multiSamples to allow rendering context to be created. wglChoosePixelFormatARB failed to find a suitable format.

The error from Wine is:
0029:warn:wgl:X11DRV_wglChoosePixelFormatARB Compatible Pixel Format not found

a full log from Wine with +wgl is attached.

This is an old idTech 4 game requiring a compatibility context. I haven't tried it before, but it does have a platinum rating in Wine.

The game is available free of charge on Steam.

There was a previous issue with pixel formats that was resolved. I'm not sure if this is a similar problem. See bug #47478 and
https://bugs.winehq.org/show_bug.cgi?id=26763

Using 18.2.0~rc4 on TONGA.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=107687

--- Comment #1 from Sven Arvidsson <[email protected]> ---
Doom 3: BFG seems to have a similar problem (starts up to a white screen):

0009:warn:wgl:X11DRV_wglGetPixelFormatAttribivARB Unable to convert iPixelFormat 0 to a GLX one! 0009:warn:wgl:X11DRV_wglChoosePixelFormatARB Compatible Pixel Format not found

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107687

--- Comment #2 from Sven Arvidsson <[email protected]> ---
Created attachment 141408
--> https://bugs.freedesktop.org/attachment.cgi?id=141408&action=edit
brink apitrace

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107687

--- Comment #3 from Sven Arvidsson <[email protected]> --- glXChooseFBConfig(dpy = 0x7dce1f80, screen = 0, attribList = {GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8, GLX_ALPHA_SIZE, 8, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, 8, GLX_SWAP_METHOD_OML, 32865, GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB, 1, GLX_DOUBLEBUFFER, True, GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, GLX_RENDER_TYPE, GLX_RGBA_BIT | GLX_COLOR_INDEX_BIT | 0xfffffffffffffffc, 0}, nitems = &0) = NULL

Quoted 1 line

From the apitrace it looks like Wine passes 32865 (0x8061)for

GLX_SWAP_METHOD_OML to glXChooseFBConfig, what I can tell from the specs only 0x8060 is allowed as a parameter to GLX_SWAP_METHOD_OML.

If someone can confirm this I will file a new bug with Wine.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107687

--- Comment #4 from Sven Arvidsson <[email protected]> --- (In reply to Sven Arvidsson from comment #3)

Quoted 5 lines

From the apitrace it looks like Wine passes 32865 (0x8061)for GLX_SWAP_METHOD_OML to glXChooseFBConfig, what I can tell from the specs only 0x8060 is allowed as a parameter to GLX_SWAP_METHOD_OML.

If someone can confirm this I will file a new bug with Wine.

I'm an idiot.

Anyhow, recreating the call to glXChooseFBConfig in a sample program with the swap method set to GLX_SWAP_EXCHANGE_OML/0x8061 doesn't return a fbconfig.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107687

Sven Arvidsson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #5 from Sven Arvidsson <[email protected]> ---

*** This bug has been marked as a duplicate of bug 97516 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel